package com.platform.dao;

import org.apache.ibatis.annotations.Param;

import com.platform.entity.TokenEntity;

public interface TokenDao extends BaseDao<TokenEntity>{
    TokenEntity queryByUserId(@Param("userId") Integer userId);

    TokenEntity queryByToken(@Param("token") String token);

}
